class Notifier < ActionMailer::Base
  default from: "from@example.com"

  # Subject can be set in your I18n file at config/locales/en.yml
  # with the following lookup:
  #
  #   en.notifier.sang_recevied.subject
  #
  def sang_recevied(user)
   @user =user
  mail :to => user.emailAddress, :subject => 'register succeed'
   
  end
end
